From: Matthias Clasen Date: Wed, 1 Dec 2021 00:51:22 +0000 (-0500) Subject: docs: Clarify a sentence in the migration guide X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~91^2^2~106^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5a42ccc57557d966d55dfadd7f0f624a901cd370;p=gtk4.git docs: Clarify a sentence in the migration guide Make it clear that we are giving examples of no-longer existing APIs here. Fixes: #4479 --- diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index fcb3af5d76..068b97212a 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -410,8 +410,8 @@ have been removed. Update your code accordingly. Any APIs that deal with global (or root) coordinates have been removed in GTK 4, since not all backends support them. You should replace your use of such APIs with surface-relative equivalents. -Examples of this are `gdk_surface_get_origin()`, `gdk_surface_move()` -or `gdk_event_get_root_coords()`. +Examples of such removed APIs are `gdk_window_get_origin()`, +`gdk_window_move()` or `gdk_event_get_root_coords()`. ### Adapt to `GdkKeymap` API changes